<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        body {
            margin: 0;
        }
        .page-header {
            overflow: hidden;
            height: 200px;
            background-color: cyan;
        }
        .page-main:after {
            content:"";
            display: block;
            clear:both;
        }
        article {
            float: left;
            width: 60%;
        }
        aside {
            float: right;
            width: 38%;
        }
    </style>
</head>
<body>

    <!-- 页头 -->
    <header class="page-header">
        <h1>我的网站</h1>
    </header>

    <!-- 页面主导航 -->
    <nav class="page-nav">
        <a href="#">首页</a>
        <a href="#">首页</a>
        <a href="#">首页</a>
        <a href="#">首页</a>
        <a href="#">首页</a>
        <a href="#">首页</a>
    </nav>

    <!-- 主要内容 -->
    <div class="page-main">
        <!-- 文章 -->
        <article>
            <h2>如何一夜暴富</h2>
            <section>
                <h3>第一种方式 通过做梦</h3>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem aliquam necessitatibus magnam consectetur vitae, animi libero quidem, facilis ullam sequi reprehenderit ratione beatae provident praesentium ut eaque inventore cumque numquam!</p>
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem aliquam necessitatibus magnam consectetur vitae, animi libero quidem, facilis ullam sequi reprehenderit ratione beatae provident praesentium ut eaque inventore cumque numquam!</p>
            </section>
            <section>
                <h3>第二种方式 通过买彩票</h3>
                <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Cum, quos. Quibusdam numquam necessitatibus impedit explicabo at nulla. Quidem eligendi libero tempore eveniet esse corrupti, doloremque mollitia, dicta ipsum perferendis odio?</p>
                <p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Cum, quos. Quibusdam numquam necessitatibus impedit explicabo at nulla. Quidem eligendi libero tempore eveniet esse corrupti, doloremque mollitia, dicta ipsum perferendis odio?</p>
            </section>
        </article>

        <!-- 侧边栏 -->
        <aside>
            <ul>
                <li>Lorem ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet.</li>
            </ul>
        </aside>
    </div>
    <!-- 页脚 -->
    <footer class="page-footer">
        <nav>
            <a href="#">友情链接</a>
            <a href="#">友情链接</a>
            <a href="#">友情链接</a>
            <a href="#">友情链接</a>
            <a href="#">友情链接</a>
            <a href="#">友情链接</a>
            <a href="#">友情链接</a>
        </nav>
        <p>&copy;Lorem ipsum dolor sit amet.</p>
    </footer>

    <!-- html5标签在低级浏览器中是不可以使用的   
        我们需要引入一个文件 然后让他帮助我们来转换
    -->

    <!-- <script src="./source/js/html5shiv.min.js"></script> -->

    <!-- 正常高级浏览器是不可以使用html5shiv.js的 只有低级浏览器才会使用 -->
    <!-- js的代码必须要放在body的最后一行 -->

    <!-- ie浏览器现在已经不再维护了 所以看到这段代码要知道干什么就可以 -->

    <!--[if lt ie 9]>
        <script src="./source/js/html5shiv.js"></script>
    <![endif]-->
</body>
</html>